package org.jarraiders.musiclibrary.client;

import java.util.ArrayList;

import org.jarraiders.musiclibrary.shared.domain.AlbumDTO;
import org.jarraiders.musiclibrary.shared.domain.ArtistDTO;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("artistsService")
public interface ArtistsService extends RemoteService{

	ArtistDTO addArtist(ArtistDTO artist);

	ArrayList<ArtistDTO> deleteArtist(String id);

	ArtistDTO getArtist(String id);

	ArrayList<ArtistDTO> getArtistDetails();

	ArtistDTO updateArtist(ArtistDTO artist);
	
	ArrayList<ArtistDTO> searchArtist(String searchText);

}
